package com.nuts.core.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nuts.base.core.BaseServiceImpl;
import com.nuts.base.core.IBaseDao;
import com.nuts.core.bean.request.EmployeeReqVO;
import com.nuts.core.bean.response.EmployeeVO;
import com.nuts.core.dao.IEmployeeDao;
import com.nuts.core.service.IEmployeeService;

/**
 * 用户角色Service
 * 
 * @author 许自辉
 * @date 2017年7月24日 下午3:35:08
 */
@Service
public class EmployeeImpl extends BaseServiceImpl<EmployeeReqVO,EmployeeVO> implements IEmployeeService {
	
	@Autowired
	private IEmployeeDao employeeDao;

	@Autowired
	@Override
	public void setBaseDao(IBaseDao<EmployeeReqVO, EmployeeVO> baseDao) {
		this.baseDao = baseDao;
	}

	@Override
	public EmployeeVO getPermission(String workId) {
		return null;
	}

	@Override
	public List<String> getEmployeeByworkId(String workId) {
		return employeeDao.getEmployeeByworkId(workId);
	}
	
	
}
